package com.vvvtimes.demo.common.dto;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * 响应基类
 */
@Data
public class BaseResponse {
    private int status = 200;
    private String message;

    public BaseResponse(int status, String message) {
        this.status = status;
        this.message = message;
    }

    public BaseResponse() {
    }

    /**
     * 存储操作业务对象的数据库ID，用于查询
     */
    @JSONField(serialize = false)
    private Long bizId;

    /**
     * 存储操作业务对象的编号，用于查询
     */
    @JSONField(serialize = false)
    private String bizNumber;


    @JSONField(serialize = false)
    String key;

    /**
     * 描述
     * @return
     */
    @JSONField(serialize = false)
    String description;



}
